<script>
	import {
	
		status
	} from "./api/index.js"
	export default {
		onLaunch: function() {
			console.log('App Launch')
		},
		onShow: function(option) {
			console.log('App Show')
			// alert(JSON.stringify(option))
			if(option.query.a){
				status({
					a: option.query.a
				}).then((res) => {
					console.log(res)
				})
			}
			
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style lang="scss">
	/* 注意要写在第一行，同时给style标签加入lang="scss"属性 */
	@import "@/uni_modules/uview-ui/index.scss";
	@import './styles/demo';
	page{
		height: 100%;
		background-color: #100220;
	}
</style>
